package com.all.play.mymvptwo;

import com.zhy.http.okhttp.callback.Callback;

import okhttp3.Response;

/**
 * Created by 聪明一只哈 on 2018/5/16.
 * Time: 2018/5/16  15:09
 */

public abstract class MyCallBack extends Callback<String> {


    @Override
    public abstract void inProgress(float progress, long total, int id);

    @Override
    public String parseNetworkResponse(Response response, int id) throws Exception {
        String string = response.body().string();
        return string;
    }


}
